package com.mk.admin.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("电子处方服务")
public class InternetMedicalPrescriptionEntity {
    @ApiModelProperty(value = "接口调用凭证")
    private String accessToken;

    @ApiModelProperty(value = "第三方厂商标识")
    private String clientId;

    @ApiModelProperty(value = "唯一标识", notes = "唯一标识用于唯一确定某条记录，避免重复上传，一般传该条数据的主键")
    private String thirdUniqueid;

    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @ApiModelProperty(value = "机构编码")
    private String orgCode;

    @ApiModelProperty(value = "科室名称")
    private String section;

    @ApiModelProperty(value = "科室编码")
    private String sectionCode;

    @ApiModelProperty(value = "医师姓名")
    private String docName;

    @ApiModelProperty(value = "医师执业资格证号")
    private String docCertificateNum;

    @ApiModelProperty(value = "药师姓名")
    private String pharmacistName;

    @ApiModelProperty(value = "药师执业机构")
    private String pharmacistOrg;

    @ApiModelProperty(value = "药师执业资格证号")
    private String pharmacistCertificateNum;

    @ApiModelProperty(value = "网络复诊编号", notes = "对应接口二")
    private String furtherConsultNo;

    @ApiModelProperty(value = "复诊诊断", notes = "复诊患者在实体医院的诊断名称，如有多条，使用'|'进行分隔")
    private String furtherConsultDiagnosis;

    @ApiModelProperty(value = "患者姓名")
    private String patientName;

    @ApiModelProperty(value = "患者性别", allowableValues = "1,2", notes = "1男/2女")
    private String patientSex;

    @ApiModelProperty(value = "患者年龄", example = "19")
    private Integer patientAge;

    @ApiModelProperty(value = "证件类型", allowableValues = "1,2", notes = "1身份证, 2护照")
    private Integer patientIdcardType;

    @ApiModelProperty(value = "患者证件号码")
    private String patientIdcardNum;

    @ApiModelProperty(value = "监护人姓名", notes = "患者年龄小于6岁需填此项")
    private String guardianName;

    @ApiModelProperty(value = "监护人身份证", notes = "患者年龄小于6岁需填此项")
    private String guardianIdcardNum;

    @ApiModelProperty(value = "陪伴医师姓名", notes = "患者年龄小于6岁需填此项")
    private String accompanyDocName;

    @ApiModelProperty(value = "陪伴医师执业证号码", notes = "患者年龄小于6岁需填此项")
    private String accompanyCertificateNum;

    @ApiModelProperty(value = "费别", allowableValues = "1,2", notes = "1自费, 2医保")
    private Integer feeType;

    @ApiModelProperty(value = "患者简要病史描述", notes = "病史摘要")
    private String medicalHistory;

    @ApiModelProperty(value = "处方日期", notes = "YYYY-MM-DD HH:mm:ss")
    private String recipeTime;

    @ApiModelProperty(value = "处方类型", allowableValues = "1,2,3", notes = "1中药, 2西药, 3成药(三医)")
    private Integer recipeType;

    @ApiModelProperty(value = "审方日期", notes = "YYYY-MM-DD HH:mm:ss")
    private String reviewTime;

    @ApiModelProperty(value = "处方单价", notes = "元")
    private String recipeUnitPrice;

    @ApiModelProperty(value = "药品名称商品名", notes = "以'|'分隔的多个药品名称，如'快克|板蓝根颗粒|阿莫西林胶囊'")
    private String drugName;

    @ApiModelProperty(value = "药品编码", notes = "以'|'分隔的多个药品编码")
    private String drugCode;

    @ApiModelProperty(value = "药品通用名", notes = "以'|'分隔的多个药品通用名")
    private String drugCommonName;

    @ApiModelProperty(value = "规格", notes = "以'|'分隔的多个规格")
    private String specification;

    @ApiModelProperty(value = "使用频度", notes = "以'|'分隔的多个使用频度，如'2次/天|3次/天|3次/天'")
    private String frequency;

    @ApiModelProperty(value = "用法", notes = "以'|'分隔的多个用法")
    private String usage;

    @ApiModelProperty(value = "剂量单位", notes = "以'|'分隔的多个剂量单位")
    private String doseUnit;

    @ApiModelProperty(value = "每次剂量", notes = "以'|'分隔的多个每次剂量")
    private String doseEachTime;

    @ApiModelProperty(value = "用药天数", notes = "以'|'分隔的多个用药天数")
    private String medicationDays;

    @ApiModelProperty(value = "帖数", notes = "以'|'分隔的多个帖数")
    private String packetNum;

    @ApiModelProperty(value = "数量", notes = "以'|'分隔的多个数量，如'一盒|一盒|一盒'")
    private String quantity;

    @ApiModelProperty(value = "药品包装", notes = "以'|'分隔的多个药品包装")
    private String drugPackage;

    @ApiModelProperty(value = "处方总价", notes = "元")
    private Double recipeAllPrice;

    @ApiModelProperty(value = "是否经过合理用药判断标志", allowableValues = "0,1", notes = "0否, 1是")
    private Integer isRationalDrugUse;

    @ApiModelProperty(value = "合理用药审核结果")
    private String rationalDrugUseReason;

    @ApiModelProperty(value = "配送单位", notes = "配送药企、医院药房发药或药店名称")
    private String deliveryOrg;

    @ApiModelProperty(value = "核销方式", allowableValues = "0,1,2,3", notes = "0医院取药, 1物流配送, 2药店取药, 3自动失效")
    private Integer cancelAfterVerifyWay;

    @ApiModelProperty(value = "处方核销状态", allowableValues = "0,1", notes = "0未核销, 1已核销")
    private Integer cancelAfterVerifyStatus;

    @ApiModelProperty(value = "处方核销时间", notes = "物流配送、医院药房发药或药店自购时间、自动失效时间")
    private String cancelAfterVerifyTime;

    @ApiModelProperty(value = "配送金额")
    private Double deliveryPrice;

    @ApiModelProperty(value = "上传时间", notes = "YYYY-MM-DD HH:mm:ss")
    private String uploadTime;

    @ApiModelProperty(value = "医师ca签名订单id")
    private String docCaSignOrderId;

    @ApiModelProperty(value = "医师ca签名值")
    private String docCaSign;

    @ApiModelProperty(value = "医师ca签名时间", notes = "YYYY-MM-DD HH:mm:ss")
    private String docCaSignTime;

    @ApiModelProperty(value = "医师ca登录值", notes = "指标标准项，有值必传")
    private String docCaLoginSign;

    @ApiModelProperty(value = "医师ca登录时间", notes = "YYYY-MM-DD HH:mm:ss")
    private String docCaLoginTime;

    @ApiModelProperty(value = "药师ca签名订单id")
    private String pharmacistCaSignOrderId;

    @ApiModelProperty(value = "药师ca签名值", notes = "指标标准项，有值必传")
    private String pharmacistCaSign;

    @ApiModelProperty(value = "药师ca签名时间", notes = "YYYY-MM-DD HH:mm:ss")
    private String pharmacistCaSignTime;

    @ApiModelProperty(value = "药师ca登录值")
    private String pharmacistCaLoginSign;

    @ApiModelProperty(value = "药师ca登录时间", notes = "YYYY-MM-DD HH:mm:ss")
    private String pharmacistCaLoginTime;

    @ApiModelProperty(value = "医院处方编号")
    private String recipeNo;

    @ApiModelProperty(value = "所在城市id", notes = "机构所在城市")
    private String cityId;

    @ApiModelProperty(value = "职称")
    private String jobTitle;
}
